package com.ruoyi.training.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 通知接收对象 notice_receive
 * 
 * @author lqx
 * @date 2025-10-24
 */
public class NoticeReceive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 通知接收表id（主键） */
    private String noticeReceiveId;

    /** 学员通知表id（关联学员通知表） */
    @Excel(name = "学员通知表id", readConverterExp = "关=联学员通知表")
    private String studentNoticeId;

    /** 学员id */
    @Excel(name = "学员id")
    private String studentId;

    /** 班级id */
    @Excel(name = "班级id")
    private String trainingClassId;

    /** 短信状态（0-发送成功，1-发送失败，2未选择短信发送） */
    @Excel(name = "短信状态", readConverterExp = "0=-发送成功，1-发送失败，2未选择短信发送")
    private String smsStatus;

    /** 门户推送状态(0-成功，1-未选择门户推送) */
    @Excel(name = "门户推送状态(0-成功，1-未选择门户推送)")
    private String portalStatus;

    public void setNoticeReceiveId(String noticeReceiveId) 
    {
        this.noticeReceiveId = noticeReceiveId;
    }

    public String getNoticeReceiveId() 
    {
        return noticeReceiveId;
    }

    public void setStudentNoticeId(String studentNoticeId) 
    {
        this.studentNoticeId = studentNoticeId;
    }

    public String getStudentNoticeId() 
    {
        return studentNoticeId;
    }

    public void setStudentId(String studentId) 
    {
        this.studentId = studentId;
    }

    public String getStudentId() 
    {
        return studentId;
    }

    public void setTrainingClassId(String trainingClassId) 
    {
        this.trainingClassId = trainingClassId;
    }

    public String getTrainingClassId() 
    {
        return trainingClassId;
    }

    public void setSmsStatus(String smsStatus) 
    {
        this.smsStatus = smsStatus;
    }

    public String getSmsStatus() 
    {
        return smsStatus;
    }

    public void setPortalStatus(String portalStatus) 
    {
        this.portalStatus = portalStatus;
    }

    public String getPortalStatus() 
    {
        return portalStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("noticeReceiveId", getNoticeReceiveId())
            .append("studentNoticeId", getStudentNoticeId())
            .append("studentId", getStudentId())
            .append("trainingClassId", getTrainingClassId())
            .append("smsStatus", getSmsStatus())
            .append("portalStatus", getPortalStatus())
            .toString();
    }
}
